package models

import (
	"time"
)

type BaseModel struct {
	ID        uint      `gorm:"primarykey;" json:"id"`
	CreatedAt time.Time `gorm:"column:created_at;" json:"created_at,omitempty"`
	UpdatedAt time.Time `gorm:"column:updated_at;" json:"updated_at,omitempty"`
	// DeletedAt sql.NullTime `gorm:"column:deleted_at,index" json:"deleted_at,omitempty"`
	DeletedAt time.Time `gorm:"index" json:"deleted_at,omitempty"`
}
